EMT Practice Test

1. Question Content...


Question List

Question1: The <rpc-reply> XML tag is a member of which NETCONF protocol layer?

Question2: Click the Exhibit button.
Exhibit:

Referring to the exhibit, what is the execution order of tasks in the Ansible playbook?

Question3: By default, Python event scripts and SNMP scripts configured on a Junos device execute as which user?

Question4: Which command is used to execute an Ansible playbook?

Question5: What is correctly formatted JSON string?



Question6: Click the Exhibit button.
Exhibit:

You are using RubyEZ to interact with a Junos device: however, you are not successfully connecting to the device.
Referring to the exhibit, what is the problem?

Question7: Click the Exhibit button.
Exhibit:
Junos Event Policy Configuration



Referring to the exhibit. What will the hostname be if interface ge-0/0/0 goes down?

Question8: Click the Exhibit button.
Exhibit:

The Ansible playbook shown in the exhibit is executed against a set of Junos network devices. Each Junos device is configured with a useraccount in the super-userlogin class. The useraccount uses SSH- key-based authentication with a passphrase of user123.
What is the result of executing this playbook against the Junos network devices?

Question9: Which format does an Ansible playbook use?

Question10: Click the Exhibit button.
Exhibit:


Referring to the exhibit, what are two results of the Python operational script? (Choose two)

Question11: To which component(s) does the JET service APIs provide access?

Question12: Click the Exhibit button.
Exhibit:

Referring to the exhibit, what should <CHANGEME> be replaced with to correctly print out the exception message Cannot connect to device?

Question13: Which command is valid for accessing a Junos device using the RESTful API on the default port?

Question14: A customer has a control machine with a default Ansible installation. During execution of an Ansible module against a Junos device, the Ansible control machine generates the msg: unable to connect to router1.example.com: ConnectRefusedError router1.example.com)error.
(
What is the cause for this error?

Question15: Click the Exhibit button.
Exhibit:


Referring to the exhibit, which Python statement selects the <user-entry> element for the user logged in on the pts/2 TTY?

Question16: You are writing a SLAX op script to provide a customized rendition of the show interface output. You want to include a command-line argument named interfaceand provide it with the default value of fxp0.
Which code snippet accomplishes this goal?

Question17: Click the Exhibit button.
Exhibit:

What will executing the program shown in the exhibit retrieve from a Junos device?

Question18: A customer has a control machine with a default Ansible installation. During execution of an Ansible module, the Ansible control machine generates the no hosts matched error.
Which statement is correct in this scenario?

Question19: Which statement describes the relationship between YANG and NETCONF?

Question20: What is purpose of RubyEZ?

Question21: In SLAX, what is the difference between the jcs:invoke ()and the jcs:execute ()functions?

Question22: You need to reset all Junos systems in your lab to their factory-default state and then push a new configuration to the device.
Which two Ansible modules would your playbook use to accomplish this task? (Choose two)

Question23: Click the Exhibit button.
Exhibit:

An automation developer is using command-line scripting and wants to briefly survey NETCONF capabilities before running a new task.
Referring to the exhibit, how does the automation developer end the current NETCONF session and go to the next one?

Question24: What are three supported languages for operational scripts on Junos devices? (Choose three)

Question25: What are two attributes of the jsd JET service process? (Choose two)

Question26: Which two statements are correct about JSON characteristics? (Choose two)

Question27: Which pair of daemons in the Junos OS handle automation?

Question28: Click the Exhibit button.
Exhibit:
Ansible playbook:

The r0device is currently in a factory-default state. The console connection of r0is reachable using Telnet on TCP port 555 of the console_serverhost.
Referring to the exhibit, which statement is true?

Question29: Click the Exhibit button.
Exhibit:

While using NETCONF, the developer attempts to lock the configuration, but the error shown in the exhibit is received. The developer verifies no one else is configuring the device.
According to Juniper, how would you clear the error in this scenario?

Question30: Click the Exhibit button.
Exhibit:

Your manager asks you to troubleshoot an Ansible problem when logging into a Junos device. You notice the Ansible play in question has a vars_filesargument that calls the variables.ymlentry file. The contents of that file are displayed in the exhibit.
What is happening in this scenario?

Question31: What are three elements of a JET notification message? (Choose three)

Question32: Click the Exhibit button.
Exhibit:



Referring to the exhibit, what is the type of the myConfig variable on line 17 of the Python script?

Question33: Click the Exhibit button.
Exhibit:

Where would the Python code shown in the exhibit be used?

Question34: You are asked by your manager to automatically switch traffic from the primary link to the backup link on the MX Series device at the branch site whenever latency is above 300 ms over a 5-minute period.
Which type of Junos script would you use in this scenario?

Question35: Which messaging protocol do JET service APIs use to interface with the Junos OS?

Question36: Click the Exhibit button.
Exhibit:

You are validating access to a Junos device using NETCONF and receive the response shown below.

Referring to the exhibit, how would you solve this issue?

Question37: Which data serialization is used between RubyEZ and a Junos device?

Question38: What are three ways for PyEZ to connect to supported Junos devices? (Choose three)

Question39: What are two format distinctions to know when using YAML? (Choose two)

Question40: Your organization is creating a custom YANG module. You are asked to create a leaf node called timeout with a data type of duration.
In this scenario, what is the appropriate syntax for this leaf node?



Question41: Which data serialization method does the Junos CLI use to communicate with the Junos management process (mgd)?

Question42: Which two automation frameworks are agentless when managing Junos devices? (Choose two)

Question43: What are two message types that compose the message layer of the Juniper NETCONF implementation?
(Choose two?)

Question44: What are three types of Juniper on-box scripts? (Choose three)

Question45: With which three processes does the JET service process communicate? (Choose three)

Question46: Using the RESTful API on a Junos device, you are able to retrieve configuration information in which three formats? (Choose three)

Question47: What is the purpose of an __init__.pyfile?

Question48: Which statement is true about a Junos ephemeral configuration database?

Question49: You want to push a configuration onto a Junos device without using NETCONF.
Which two will accomplish this task? (Choose two)

Question50: Which YAML document represents a valid mapping (dictionary) of sequences (lists)?



Question51: You want to enable an unsigned Python op script named inventory.pythat will be stored on a local Junos device.
Which two commands are needed to accomplish this task? (Choose two)

Question52: With the inclusion of Python in the Junos OS, what is an advantage that this feature provides administrators?

Question53: In a Python commit script, which object provides the post-inheritance candidate configuration?

Question54: You have created an on-box script and want to deploy it on your device. You plan to place it in a directory where the Junos OS can execute it.
Which two privilege levels would be used to accomplish this task? (Choose two)

Question55: You are asked to write an application that interacts directly with the internal APIs belonging to rpd Which statement is true in this scenario?

Question56: Click the Exhibit button.
Exhibit:

You need to programmatically extract interface information using PyEZ from your MX Series device. You log in and use the show interfacesterse | display xml rpccommand and see the information shown in the exhibit.
What is the correct PyEZ syntax to accomplish this task?

Question57: Click the Exhibit button.
Exhibit:

Referring to the exhibit, which exception is raised if the <get-interface-information> RPC takes 40 seconds to return a complete response?

Question58: Which statement describes the purpose of Ansible roles?

Question59: Click the Exhibit button.
Exhibit:

How would you test the configuration snippet shown in the exhibit?

Question60: What are two benefits of network automation? (Choose two)

Question61: Which two primary processes are used by Juniper devices for on-box or off-box automation? (Choose two)

Question62: What is a valid method for determining the Junos RPC associated with the show version command?



Question63: You want to implement a function that is available in the Junos OS , but not defined in a standard model.
Which statement would you use with YANG to accomplish this task?

Question64: Which transport protocol must be supported by RFC-compliant NETCONF implementations?

Question65: Click the Exhibit button.
Exhibit:

Referring to the exhibit, the configuration components are displayed in which format?